package com.lulin.mall.seckill.comfig;

import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 定时任务统一配置类
 *
 * @author lulin
 * @date 2023/1/4 11:12
 */
@EnableAsync //开启异步任务的功能
@EnableScheduling //开启定时任务
@Configuration
public class ScheduleCionfig {
}
